Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change representation of PrivateKey to not use String #452

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

hunterpayne
Copy link
Contributor

Changing the JwtSecretKey class to use an Array of Characters, byte array or PrivateKey.

@froth
Copy link
Collaborator

froth commented Jul 3, 2024

Thanks for your work. First glance looks fine to me, however I am currently on vacation and only have a phone with me ;) I can have another look at some point next week, sorry for the slow response.

@gvolpe any thoughts? I think this is binary breaking as it changes the public interface of JwtSecretKey and in my opinion therefore should be released as 2.0.

Copy link
Collaborator

@froth froth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work, some remarks/questions from my side. Again sorry for the delay.

core/src/main/scala/dev/profunktor/auth/jwt.scala Outdated Show resolved Hide resolved
core/src/main/scala/dev/profunktor/auth/jwt.scala Outdated Show resolved Hide resolved
core/src/main/scala/dev/profunktor/auth/jwt.scala Outdated Show resolved Hide resolved
@gvolpe
Copy link
Member

gvolpe commented Jul 12, 2024

@froth I leave it up to you guys, I don't use this library at all these days, don't wait for my review :)

@froth
Copy link
Collaborator

froth commented Jul 25, 2024

@hunterpayne thanks for your work. I like the changes and will try and merge them today. I will most likely have to change the base branch to series/2.0. I will try to change your pull request to reflect that, if I don't have the permissions to do so I will have to ask you to do that.

@froth froth changed the base branch from series/1.x to series/2.x July 25, 2024 07:26
@froth froth mentioned this pull request Jul 25, 2024
@froth froth changed the title Starting removal of use of Strings for private keys Change representation of PrivateKey to not use String Jul 25, 2024
@froth froth merged commit 2ddea45 into profunktor:series/2.x Jul 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants